#pragma once

#include <map>

#include "../SPopupWindow.h"

class STableColumnSet;
class STableSetDlg : public SPopupWindow {
 public:
  STableSetDlg(QWidget* parent, STableColumnSet* set);

 protected slots:
  void onCheckChanged(int);
  void applyChange();
  void restoreDefault();

 private:
  STableColumnSet* m_tableSet = nullptr;
  std::map<int, bool> m_colShow;
};